package com.x8.mt.entity;

public class Metadata_tablefieldmapping {
	int id;
	int srctableid;
	int srcfieldid;
	int targettableid;
	int targetfieldid;
	Integer flag;//表示该元数据属于哪一个元模型
	
	public Metadata_tablefieldmapping(){
		
	}	
	
	public Metadata_tablefieldmapping(int srctableid, int srcfieldid,
			int targettableid, int targetfieldid) {
		super();
		this.srctableid = srctableid;
		this.srcfieldid = srcfieldid;
		this.targettableid = targettableid;
		this.targetfieldid = targetfieldid;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getSrctableid() {
		return srctableid;
	}
	public void setSrctableid(int srctableid) {
		this.srctableid = srctableid;
	}
	public int getSrcfieldid() {
		return srcfieldid;
	}
	public void setSrcfieldid(int srcfieldid) {
		this.srcfieldid = srcfieldid;
	}
	public int getTargettableid() {
		return targettableid;
	}
	public void setTargettableid(int targettableid) {
		this.targettableid = targettableid;
	}
	public int getTargetfieldid() {
		return targetfieldid;
	}
	public void setTargetfieldid(int targetfieldid) {
		this.targetfieldid = targetfieldid;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	
}
